// chang.c 常长风
inherit NPC;
 
void create()
{
	set_name("常长风", ({ "chang  changfeng"}));
	set("nickname", "双掌开碑");
	set("long", "他又高又肥，便如是一座铁塔摆在地下，身前放著一块大石碑，碑上写的是「先考黄府君诚本之墓」，这自是一块墓碑了，不知放在身前有何用意？\n");
	set("gender", "男性");
	set("age", random(10) + 25);
	set("attitude", "peaceful");
	set("str", 25);
	set("int", 20);
	set("con", 25);
	set("dex", 27);
	
	set("max_qi", 500);
	set("max_jing", 400);
	set("neili", 700);
	set("max_neili", 700);
	set("jiali", 10);
	set("combat_exp", 300000 + random(40000)); 
	set("chat_chance_combat", 60);
	set("chat_msg_combat", ({			      
	       (: exert_function, "powerup" :),
	       (: exert_function, "regenerate" :),
	       (: exert_function, "recover" :),
	})); 
	 
	set_skill("force", 100);
	set_skill("hunyuan-yiqi", 150);
	set_skill("dodge", 100 + random(50));
	set_skill("tiezhang-zhangfa", 150 + random(50));
	set_skill("shuishangpiao",150 + random(50));
	set_skill("strike", 100 + random(50));
	set_skill("unarmed", 100 + random(50));
	set_skill("parry", 100 + random(50));
	set_skill("literate", 20);
	set_skill("sword",100 + random(50));
	set_skill("changge-jian",150 + random(50));
	map_skill("sword","changge-jian");
	map_skill("strike","tiezhang-zhangfa");
	map_skill("parry","tiezhang-zhangfa");
        map_skill("dodge","shuishangpiao");
        
	setup(); 
	carry_object("/clone/misc/cloth")->wear();
	carry_object("/clone/weapon/changjian")->wield();
  	add_money("silver", 50);
}
#include "npc.h"
